package mylab.starters.mybatis.support.foreignKey;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import mylab.base.model.entity.Entity;

/**
 * @Description:
 * @author: Sylar
 * @date: 2021年10月14日 7:45 下午
 */
@AllArgsConstructor
@Setter
@Getter
public class RegisterItem {
    private Class<? extends Entity> pkClass;
    private Class<? extends Entity> fkClass;
    private String pkProperty;
    private String fkProperty;

    @Override
    public String toString() {
        return "RegisterItem{" + "pkClass=" + pkClass.getSimpleName() + ", pkProperty='" + pkProperty + '\'' + ", fkClass=" + fkClass.getSimpleName() + ", fkProperty='" + fkProperty + '\'' + '}';
    }
}